#include <STC15F2K60S2.H>
 
void Write_Ds1302(unsigned char temp);
void Write_Ds1302_Byte( unsigned char address,unsigned char dat );
unsigned char Read_Ds1302_Byte( unsigned char address );
void Read_Rtc(unsigned char* ucRtc);//读取时间
void Set_Rtc(unsigned char* ucRtc);//设置时间
void Set_Date(unsigned char* ucDate);//设置日期
void Read_Date(unsigned char* ucDate);//读取日期
